<?php
class Country extends AppModel {
	var $name = 'Country';
	var $displayField = 'name';
	var $validate = array(
		'name' => array(
			'notempty' => array(
				'rule' => array('notempty'),
			),
		),
	);
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $hasMany = array(
		'Company' => array(
			'className' => 'Company',
			'foreignKey' => 'country_id',
		)
	);

}
?>